package com.gjs.reviewtree.controller.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@Accessors(chain = true)
public class AddReviewReqVO {

    private Long parentId;

    @NotBlank(message = "评论内容不能为空")
    @Size(max = 300, message = "评论内容最长300个字符")
    private String content;
}
